<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
		<meta http-equiv="description" content="This is my page" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="css/main.css" rel="stylesheet" type="text/css" />
		<link href="css/style.css" rel="stylesheet" type="text/css" />
		<link href="css/seller.css" rel="stylesheet" type="text/css" />
		<title>商家首页</title>
	</head>

	<body>
		<div align="center">
			<table border="0" cellpadding="0" cellspacing="0" width="910">
				<tbody>
					<tr>
						<td width="100%"></td>
					</tr>
				</tbody>
			</table>
		</div>

		<div id="layout">

			<%@ include file="/WEB-INF/common/header/header.jsp"%>

			<div id="seller_main">
				<%@include
					file="/WEB-INF/jsp/seller/seller_common/seller_left_nav.jsp"%>
				<div id="seller_main_right">

					<div id="seller_right_top">
						当前位置：商家设置 &gt;&gt;
						<a href="sellerIndex!sellerIndexPage.do">商家首页</a>
					</div>
					<div id="seller_left_first">
						<center>
							<s:if test="(seller.photo == '')||(seller.photo == null)">
								<img src="images/small_default_head_pic.jpg" />
							</s:if>
							<s:else>
								<img src="<s:property value="seller.photo"/>" />
							</s:else>
						</center>
					</div>
					<div id="seller_left_second">
						商家相关信息
					</div>
					<div id="seller_left_title">
						未完成订单
					</div>
					<div id="seller_left_orders">
						<table width="700" border="0" cellpadding="0" cellspacing="0"
							class="seller_orders_list">
							<tr>
								<td width="88" height="32">
									订单号
								</td>
								<td width="104">
									用户联系方式
								</td>
								<td width="93">
									类型
								</td>
								<td width="152">
									下单时间
								</td>
								<td width="129">
									订单金额
								</td>
								<td width="61">
									状态
								</td>
								<td width="73">
									操作
								</td>
							</tr>
							<s:iterator value="ordersList">
								<tr>
									<td height="50">
										<s:property value="ordersNum" />
									</td>
									<td>
										<s:property value="user.telephone" />
									</td>
									<td>
										<s:property value="ordersType" />
									</td>
									<td>
										<s:date name="createDate" format="yyyy-MM-dd" />
									</td>
									<td>
										<s:property value="allMoney" />
									</td>
									<td>
										<s:if test="status == 0">
											<h4>
												未交易
											</h4>
										</s:if>
										<s:elseif test="status == 1">
											<h4>
												已付款未发货
											</h4>
										</s:elseif>
										<s:elseif test="status == 2">
											<h4>
												已发货未确认
											</h4>
										</s:elseif>
										<s:else>
											<s:property value="status" />
										</s:else>
									</td>
									<td>
										<a href="#">查看</a>
									</td>
								</tr>
							</s:iterator>
						</table>
					</div>
					<div id="seller_left_orders_devide">
						<jsp:include page="/WEB-INF/jsp/page.jsp">
							<jsp:param name="url" value="sellerIndex!sellerIndexPage.do" />
						</jsp:include>
					</div>
				</div>
			</div>
			<!-- main end -->

			<!-- footer尾部 -->
			<%@include file="/WEB-INF/common/footer/footer.jsp"%>
		</div>
	</body>
</html>
